package com.ht.temp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author mayke_zhou
 * @since 2018-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DayReport implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 天时间
     */
    @JsonFormat(pattern="yyyy-MM",timezone="GMT+8")

    private LocalDateTime times;

    /**
     * 天时间
     */
    private String dayTime;

    @TableId(value = "day_id", type = IdType.AUTO)
    private Integer dayId;

    /**
     * 天（哪一天：xxxx年xx月xx日）
     */
    private String dayName;

    /**
     * 天平均温度
     */
    private Double dayTem;

    /**
     * 天平均湿度
     */
    private Double dayHum;

    private Integer deviceId;


}
